package com.edu.mapper.blog;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.edu.entity.blog.blogComment;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: LuckyBear
 * @date: 2018-11-08 10:13
 * @description:
 */
@Component
public interface BlogCommentMapper extends BaseMapper<blogComment> {

    //添加评论
    public  Integer addComment(blogComment blogComment);

    //根据文章id显示评论
    public List<blogComment> displayComment(int id);

}
